const { defineConfig } = require('@vue/cli-service')
module.exports = defineConfig({
  transpileDependencies: true,
  lintOnSave: false,
  devServer: {
    port: 8888
  },
  css: {
    loaderOptions: {
      postcss: {
        postcssOptions: {
          plugins: [
            require('postcss-pxtorem')({
              rootValue: 18, // 换算的基数
              selectorBlackList: [], // 忽略转换正则匹配项
              propList: ['*'],
            }),
          ]
        }
      }
    }
  },
})
